package phoenix.web.locators.naughtyfever;

import org.openqa.selenium.By;

import phoenix.web.locators.base.MyAccountLocatorsBase;

/**
 * MyAccountPage locators for NaughtyFever
 */

public class MyAccountLocators extends MyAccountLocatorsBase
{
	/**
	 * Overrides specific locators
	 */
	public MyAccountLocators()
	{
		// Block New activity notifications
		checkboxNewMessages = By.xpath("(//input[@type='checkbox'])[3]");
		checkboxNewWink = By.xpath("(//input[@type='checkbox'])[4]");
		checkoutNewViews = By.xpath("(//input[@type='checkbox'])[5]");

		// Block My account
		elementMySettingsDiv = By.cssSelector(".b-page.b-page-profile-settings");
		btnBillingHistory = By.xpath("//a[@href='/#billingHistory']");
		btnDeactSubscr = By.id("deactivate-subscription");
		btnRemindPassword = By.xpath("//a[@id='remind-password']");

		// Buttons
		buttonEditPassword = By.xpath("//div[@class='b-settings-row b-settings-password']//a[@class='btn-edit-bare']");
		buttonSavePassword = By.xpath("//div[@class='b-settings-row b-settings-password active']//a[@class='btn-light']");
		inputOldPass = By.xpath("(.//*[@id='layoutContent']//input[@class='password-old'])[1]");
		inputNewPass = By.xpath("(.//*[@id='layoutContent']//input[@class='password-new'])[1]");
		blockSuccessMessage = By.xpath(".//*[@id='layoutContent']//*[@class='b-success active']");
		blockUnSuccessMessage = By.xpath(".//*[@id='layoutContent']//*[@class='b-error active']");
	}
}
